setSound

@NonNull
open fun setSound(@Nullable sound: @Nullable Uri, @Nullable audioAttributes: @Nullable AudioAttributes): @NonNull NotificationChannelCompat.Builder(source)

Sets the sound that should be played for notifications posted to this channel and its audio attributes. Notification channels with an setImportance importance} of at least IMPORTANCE_DEFAULT should have a sound. Only modifiable before the channel is submitted to createNotificationChannel.